<!DOCTYPE html>
<html dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>HTML Compressor</title>
<link href="http://mini-web-tools.googlecode.com/svn/p/img/favicon.ico" rel="shortcut icon">
<style type="text/css">
*{margin:0;padding:0}
body{background-color:#e1e1e1;text-align:center;padding:50px 50px}
textarea{display:block;text-align:left;width:98%;height:250px;border:1px solid black;background-color:white;font:normal 12px/15px "Inconsolata","Monaco","Consolas","Andale Mono","Bitstream Vera Sans Mono","Courier New",Courier,monospace;color:black;margin:10px auto;padding:0 0}button{cursor:pointer}</style></head><body><h1>Mini HTML Compressor</h1><textarea id="ta" spellcheck="false"></textarea><button id="bt">Compress HTML</button><script type="text/javascript">(function(){var ta=document.getElementById('ta'),bt=document.getElementById('bt');function compress(){var v=ta.value;v=v.replace(/(>)?\s+/g,"$1 ");v=v.replace(/([\t\n\s\r]+)</g,"<");ta.value=v;ta.focus();ta.select()}bt.onclick=compress})();</script></body></html>